<?php

/**
 * This is the model class for table "tagrem_company_widget_layout".
 */
require_once(dirname(__FILE__).'/base/CmsWidgetLayoutBase.php');
class CmsWidgetLayout extends CmsWidgetLayoutBase
{
    public function relations(){
        return array(
            'params' => array(self::HAS_MANY,'WidgetLayoutSetting','widget_layout_id','order' => 'setting_group'),
        );
    }
    
    public function behaviors()
    {
        return array(
            'TimestampBehavior'=>array('class'=>'TimestampBehavior'),
        );
    }
}